package com.hbnu.array;

import java.util.Scanner;

public class DemoArray5 {
    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);

        int height = reader.nextInt();
        long money = reader.nextLong();
        boolean handsome = reader.hasNextBoolean();

        if( height >= 180 && money >= 10000000 && handsome){
            System.out.println("嫁了");
        }
        else if ( height >= 180 || money >= 10000000 || handsome ) {
            System.out.println("比上不足比下有余");
        }
        else {
            System.out.println("不嫁");
        }
    }
}
